//
//  JYInfoInputView.h
//  MYCCBRegisterSubAccount
//
//  Created by 应明顺 on 2018/7/5.
//  Copyright © 2018年 JackYing. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JYAdaptorInputViewProtocol.h"

/**
 主要（默认）的录入控件为UITextField，可以
 */
@interface JYBaseInputView : UIView <UITextFieldDelegate, JYAdaptorInputViewProtocol>

@property (nonatomic, weak)     id<JYAdaptorInputViewDelegate> delegate;
@property(nonatomic)            UIEdgeInsets textEdgeInsets;

/// 可支持的正则表达式
@property (nonatomic, copy)     NSString *regEx;
@property (nonatomic, copy)      NSString *placeholder;
@property (nonatomic, copy)      NSString *text;

@property (nonatomic)            UIKeyboardType keyboardType;
@property (nonatomic, strong)    UIView *rightView;
@property (nonatomic)            UITextFieldViewMode clearButtonMode;
@property (nonatomic)            BOOL clearsOnBeginEditing;

@end
